package com.varian.redis.model;

import cn.hutool.core.util.StrUtil;

/**
 * @author ben
 * @since 2024/6/23
 */
public record RKD(String desc, String format) {
    public static RKD of(String desc, String format) {
        return new RKD(desc, format);
    }

    public String format(Object... args) {
        return StrUtil.format(format, args);
    }
}
